package com.liu.webstore.repository;

import com.liu.webstore.entity.LoginTicket;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Author LiuYumei
 * @Date 2022/7/20 4:24 PM
 */
@Mapper
@Deprecated
public interface LoginTicketMapper {
    int insertLoginTicket(LoginTicket loginTicket);

    LoginTicket selectByTicket(@Param("ticket") String ticket);

    int updateLoginTicket(@Param("ticket") String ticket, @Param("status") int status);
}
